package com.wkk.websocket.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wkk.websocket.dto.AnnouncementHistoryDto;
import com.wkk.websocket.entity.Announcement;

import java.util.List;

/**
 * @author : WangKeKe
 * @date : 2020/9/30 18:13
 * Description : 公告持久层接口
 */


public interface AnnouncementMapper extends BaseMapper<Announcement> {
    /**
     * 查询分页数据
     *
     * @param page 分页显示
     * @return 分页数据
     */
    List<AnnouncementHistoryDto> queryPageList(Page<AnnouncementHistoryDto> page);
}
